package com.kgc.itrip.service;

import com.kgc.itrip.common.Page;
import com.kgc.itrip.dto.Dto;
import com.kgc.itrip.pojo.ItripUserLinkUser;
import com.kgc.itrip.vo.ItripAddUserLinkUserVO;
import com.kgc.itrip.vo.ItripSearchUserLinkUserVO;

import java.util.List;
import java.util.Map;

/**
* Created by shang-pc on 2015/11/7.
*/
public interface ItripUserLinkUserService {

    public ItripUserLinkUser getItripUserLinkUserById(Long id)throws Exception;

    public List<ItripUserLinkUser>	getItripUserLinkUserListByMap(Map<String,Object> param)throws Exception;

    public Integer getItripUserLinkUserCountByMap(Map<String,Object> param)throws Exception;

    public Integer itriptxAddItripUserLinkUser(ItripUserLinkUser itripUserLinkUser)throws Exception;

    public Integer itriptxModifyItripUserLinkUser(ItripUserLinkUser itripUserLinkUser)throws Exception;

    public Integer itriptxDeleteItripUserLinkUserById(Long id)throws Exception;

    public Page<ItripUserLinkUser> queryItripUserLinkUserPageByMap(Map<String,Object> param, Integer pageNo, Integer pageSize)throws Exception;

    Dto addItripUserLinkUser(String agent, String token, ItripAddUserLinkUserVO itripAddUserLinkUserVO) throws Exception;

    Dto queryUserLinkUser(String agent, String token, ItripSearchUserLinkUserVO itripSearchUserLinkUserVO, Integer pageNo, Integer pageSize) throws Exception;
}
